package com.yundingai.controller;

import com.yundingai.service.FunctionCallingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @Author: liyuxiang
 * @Date: 2025/7/17 16:42
 */
@RestController
@RequestMapping("/functionCalling")
public class FunctionCallingController {
    @Autowired
    FunctionCallingService functionCallingService;
    @GetMapping("/list")
    public Map<String, Object> list() {
        return functionCallingService.list();
    }
}